package com.ktjiaoyu.service;

import com.ktjiaoyu.entity.Comments;
import com.ktjiaoyu.utils.Constants;
import com.ktjiaoyu.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommentsService {
    public Page<Comments> getPage(Comments entity ,
                                  Integer offset,
                                  Integer pageSize);

    public Long count(Comments entity);

    public int deleteById(Long id);

    public int updateStatus(Long id,Long status);

    public boolean updateReply(Comments comments);
}
